Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: File download from another database with xpages
Feedback Type: Problem
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: New Features
Platform: Windows XP client
Release: 8.5
Reproducible: Always

Hi,

I have an xpage with a document datasource that is bound to a document in another database. Opening and editing works fine except when I use the file download control to display attachments, then I get an Error 500 HTTP Web Server: Command Not Handled Exception (the default error page is not used to display the error, although I have it checked in the aplication properties and it is displayed with other errors).

The URL that is generated to open the attachment looks a bit strange:
http://servername/path/db_with_xpage.nsf/xsp/.ibmmodres/domino/OpenAttachment/db_with_attachment.nsf/0FACE686E0BCD5A8C125732B002AA021/Body/John%20Doe.doc

Funny thing is when I create a second attachment it works fine and it uses a URL that looks like:
http://servername/path/db_with_xpage.nsf/xsp/.ibmmodres/persistence/DominoDoc-19-Body/John%20Doe.doc

When I try to experiment some more I get too confused with the results to make anything out of it. Sometimes all attachment-links seem to work when I open a document and then nothing seems to work or something inbetween. The first attachment I create on a document always creates an error when I try to open it. It doesn't seem to mather if i create the attachments with the notes client or with a file upload control on the xpage.

I have tried with attachments in the same database and then it works fine.

When it was just opening attachments I could probably create some links using @attachmentNames, but I also want the users to be able to delete the attachments and I don't think the %%Detach checkbox will work on a xpage (haven't tried it though). And besides when it works it is a really nice control, so if someone knows a way I can maybe program the FileNameHrefValue property with the proper URL that would be a great help.

Rene.


Feedback number WEBB7P525Z created by ~Richard Dwojipypuletsi on 02/10/2009

Status: Open
Comments:

File download from another database... (~Richard Dwojip... 10.Feb.09)
. . Saw this error in the Discussion Da... (~Joseph Cisgero... 10.Feb.09)
. . program fileNameHrefValue property (~Vanessa Zeknuz... 16.Apr.09)
. . Investigating... (~Joan Zektoomar... 11.Feb.09)
. . . . Any news about your investigation? (~Ted Xanjumilyo... 7.May.09)
. . Worked for me, or am I missing some... (~Joan Zektoomar... 11.Feb.09)
. . . . Repeated your test without success (~Richard Dwojip... 13.Feb.09)
. . . . . . The same file link error (~Ted Xanjumilyo... 8.Mar.09)
. . . . . . . . Server crashes (~Ted Xanjumilyo... 9.Mar.09)
. . . . . . . . . . Are you using XPages? (~Fritz Kifoober... 12.Mar.09)
. . . . . . . . . . . . Yes - we are using XPages (~Ted Xanjumilyo... 19.Mar.09)
. . . . . . . . . . . . . . Same problem here (~Wendy Fezfanam... 26.Mar.09)
. . . . . . . . . . . . . . . . Any news about your investigation, ... (~Ted Xanjumilyo... 1.Apr.09)
. . . . . . . . . . . . . . . . . . Same problem with File Download ico... (~Pippy Elavitch... 24.Sep.09)
. . . . . . . . . . . . . . . . . . . . is it a bug? (~Pippy Elavitch... 24.Sep.09)
. . . . . . Any one solve this? (~Helga Desweman... 6.Sep.11)
. . . . . . . . Found a workaround (~Helga Desweman... 7.Sep.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS